<?php
namespace app\api\controller;
use think\Db;
use app\api\model\Mysql as _mysql;
//
// +--------------------------------------+
// |PHP version 5.6
// +--------------------------------------+
// |日志api接口
// +--------------------------------------+
// |2018/01/09
// +--------------------------------------+
// |罗彪
// +--------------------------------------+
// |知果汇
// +--------------------------------------+
class Mysql{
    public function rev(){
        $mysql = new _mysql;
        $result = $mysql->rev();
        return jsonp($result);
    }

    public function backup_list(){
        $mysql = new _mysql;
        $result = $mysql->backup_list();
        return jsonp($result);
    }

    public function start(){
    	$mysql = new _mysql;
        $result = $mysql->start();
        return jsonp($result);
    }

    public function dataList(){
        $mysql = new _mysql;
        $result = $mysql->dataList();
        return jsonp($result);
    }

    public function dataAdd(){
        $mysql = new _mysql;
        $result = $mysql->dataAdd();
        return jsonp($result);
    }
}
